package com.mnsq.common.bean.entity.permission;

import com.mnsq.common.bean.entity.CommonEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 周俭
 */
@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "m_role_menus")
public class RoleMenus extends CommonEntity {
    private static final long serialVersionUID = 7593975134587340376L;
    @Column(name = "role_id")
    private Long roleId;
    @Column(name = "menu_id")
    private Long menuId;
}
